Layer Definition Schema
SYSTEMOBJECTS Element
See Also  Send comments on this topic.
Layer Definition Schema : SYSTEMOBJECTS Element

Glossary Item Box

Description

Used to associate scripts with ArcPad system object events.Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.

Diagram

RANGEFINDER Element NAVIGATION Element MAP Element GPS Element AUX Element Sequence SYSTEMOBJECTS Element

Overview

SYSTEMOBJECTS
Used to associate scripts with ArcPad system object events.Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.
Sequence
AUX
Used to specify AUX script subroutines to call when AUX events occur.The parent element for AUX port settings in ArcPadPrefs.apx. Used to specify script subroutines to call when AUX events occur.
GPS
Used to specify script subroutines to call when GPS events occur.
MAP
Used to specify scripts to call when Map object events occur.When parent element is ArcPad, MAP is used in ArcPad map files (*.apm) to define maps. When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
NAVIGATION
Used to specify scripts to call when Navigation object events occur.
RANGEFINDER
Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.

Examples

A configuration file (ArcPad.apx):

 

<?xml version="1.0" encoding="UTF-8" ?>
<ArcPad>
  <CONFIG>
    <SYSTEMOBJECTS>
      <APPLICATION onstartup="Call LoadServiceForm" />
      <GPS onposition="Call LogGPSLocation" />
    </SYSTEMOBJECTS>
    <TOOLBARS>
      <TOOLBAR name="main" visible="false" />
      <TOOLBAR name="browse" visible="false" />
      <TOOLBAR name="draw" visible="false" />
      <TOOLBAR name="tlbCustom1" caption="Custom Toolbar" visible="true" />
        <TOOLBUTTON name="tlLoadData" onclick="Call LoadDataset" image="load.bmp" />
        <TOOLBUTTON name="tlAddData" onclick="Call AddData" image="add.bmp" />
        <TOOLBUTTON name="tlUpdateData" onclick="Call UpdateAttributes" image="update.bmp" />
      </TOOLBAR>
    </TOOLBARS>
    <STATUSBAR visible="true" scale="false" units="true" />
  </CONFIG>
  <SCRIPT src="ArcPad.vbs" />
</ArcPad>  

Restrictions

  • The APPLICATION child element cannot be used in layer definition files (*.apl).

Source

<xs:element name="SYSTEMOBJECTS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to associate scripts with ArcPad system object events.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="apl:AUX" />
      <xs:element ref="apl:GPS"></xs:element>
      <xs:element ref="apl:MAP"></xs:element>
      <xs:element ref="apl:NAVIGATION"></xs:element>
      <xs:element ref="apl:RANGEFINDER" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.